export class EmptyMap
{
    constructor(callback?:Function){
    }
    isReady(){
        return false;
    }
    createMap(id:string){
        return new Promise((resolve,reject)=>{
            return reject('map is not ready');
        });
    }
    createMarker(map:any,lnglat:any){
        return new Promise((resolve,reject)=>{
            return reject('map is not ready');
        });
    }
    getCurrentPosition(){
        return new Promise((resolve,reject)=>{
            return reject('map is not ready');
        });
    }
    getPosition(address:any){
        return new Promise((resolve,reject)=>{
            return reject('map is not ready');
        });
    }
    getAddress(lnglat:any){
        return new Promise((resolve,reject)=>{
            return reject('map is not ready');
        });
    }
}